package com.demo.commcial.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2020-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Admin_Oper")
public class AdminOper implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "Account_ID", type = IdType.AUTO)
    private Integer accountId;

    @TableField("Login_Account")
    private String loginAccount;

    @TableField("Real_Name")
    private String realName;

    @TableField("Alias_Name")
    private String aliasName;

    @TableField("Login_Password")
    private String loginPassword;

    @TableField("Dept_ID")
    private Integer deptId;

    @TableField("Role_IDs")
    private String roleIds;

    @TableField("Tel")
    private String Tel;

    @TableField("Email")
    private String Email;

    @TableField("Profile")
    private String Profile;

    @TableField("Status")
    private Integer Status;

    @TableField("Limit_IPs")
    private String limitIps;

    @TableField("USB_Key")
    private String usbKey;

    @TableField("PPass_No")
    private String ppassNo;

    @TableField("Has_PC_Serial")
    private Boolean hasPcSerial;

    @TableField("PC_Serial")
    private String pcSerial;

    @TableField("Login_Count")
    private Integer loginCount;

    @TableField("Last_Login_IP")
    private String lastLoginIp;

    @TableField("Last_Login_Time")
    private LocalDateTime lastLoginTime;

    @TableField("Is_Online")
    private Boolean isOnline;

    @TableField("Last_Online_Time")
    private LocalDateTime lastOnlineTime;

    @TableField("Modify_User")
    private String modifyUser;

    @TableField("Modify_Time")
    private LocalDateTime modifyTime;

    @TableField("Create_User")
    private String createUser;

    @TableField("Create_Time")
    private LocalDateTime createTime;

    /**
     * 状态0:未登录，1：锁定，2已修改
     */
    @TableField("LockState")
    private Integer LockState;

    /**
     * 所属群组
     */
    @TableField("GroupID")
    private String GroupID;

    @TableField("Area_Data_ID")
    private String areaDataId;

    @TableField("CreateID")
    private Integer CreateID;

    /**
     * 1:Web,2:CS客户端
     */
    @TableField("TypeFlag")
    private Integer TypeFlag;

    @TableField("Project_ID")
    private Integer projectId;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    public String getTel() {
        return Tel;
    }

    public void setTel(String tel) {
        Tel = tel;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String email) {
        Email = email;
    }

    public String getProfile() {
        return Profile;
    }

    public void setProfile(String profile) {
        Profile = profile;
    }

    public Integer getStatus() {
        return Status;
    }

    public void setStatus(Integer status) {
        Status = status;
    }

    public String getLimitIps() {
        return limitIps;
    }

    public void setLimitIps(String limitIps) {
        this.limitIps = limitIps;
    }

    public String getUsbKey() {
        return usbKey;
    }

    public void setUsbKey(String usbKey) {
        this.usbKey = usbKey;
    }

    public String getPpassNo() {
        return ppassNo;
    }

    public void setPpassNo(String ppassNo) {
        this.ppassNo = ppassNo;
    }

    public Boolean getHasPcSerial() {
        return hasPcSerial;
    }

    public void setHasPcSerial(Boolean hasPcSerial) {
        this.hasPcSerial = hasPcSerial;
    }

    public String getPcSerial() {
        return pcSerial;
    }

    public void setPcSerial(String pcSerial) {
        this.pcSerial = pcSerial;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public LocalDateTime getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(LocalDateTime lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Boolean getOnline() {
        return isOnline;
    }

    public void setOnline(Boolean online) {
        isOnline = online;
    }

    public LocalDateTime getLastOnlineTime() {
        return lastOnlineTime;
    }

    public void setLastOnlineTime(LocalDateTime lastOnlineTime) {
        this.lastOnlineTime = lastOnlineTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    public LocalDateTime getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(LocalDateTime modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getLockState() {
        return LockState;
    }

    public void setLockState(Integer lockState) {
        LockState = lockState;
    }

    public String getGroupID() {
        return GroupID;
    }

    public void setGroupID(String groupID) {
        GroupID = groupID;
    }

    public String getAreaDataId() {
        return areaDataId;
    }

    public void setAreaDataId(String areaDataId) {
        this.areaDataId = areaDataId;
    }

    public Integer getCreateID() {
        return CreateID;
    }

    public void setCreateID(Integer createID) {
        CreateID = createID;
    }

    public Integer getTypeFlag() {
        return TypeFlag;
    }

    public void setTypeFlag(Integer typeFlag) {
        TypeFlag = typeFlag;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    @Override
    public String toString() {
        return "AdminOper{" +
                "accountId=" + accountId +
                ", loginAccount='" + loginAccount + '\'' +
                ", realName='" + realName + '\'' +
                ", aliasName='" + aliasName + '\'' +
                ", loginPassword='" + loginPassword + '\'' +
                ", deptId=" + deptId +
                ", roleIds='" + roleIds + '\'' +
                ", Tel='" + Tel + '\'' +
                ", Email='" + Email + '\'' +
                ", Profile='" + Profile + '\'' +
                ", Status=" + Status +
                ", limitIps='" + limitIps + '\'' +
                ", usbKey='" + usbKey + '\'' +
                ", ppassNo='" + ppassNo + '\'' +
                ", hasPcSerial=" + hasPcSerial +
                ", pcSerial='" + pcSerial + '\'' +
                ", loginCount=" + loginCount +
                ", lastLoginIp='" + lastLoginIp + '\'' +
                ", lastLoginTime=" + lastLoginTime +
                ", isOnline=" + isOnline +
                ", lastOnlineTime=" + lastOnlineTime +
                ", modifyUser='" + modifyUser + '\'' +
                ", modifyTime=" + modifyTime +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", LockState=" + LockState +
                ", GroupID='" + GroupID + '\'' +
                ", areaDataId='" + areaDataId + '\'' +
                ", CreateID=" + CreateID +
                ", TypeFlag=" + TypeFlag +
                ", projectId=" + projectId +
                '}';
    }
}
